import request from '@/utils/request'
export default{
    listPage(pageNum,pageSize,keyword){ // 185
        return request({
            url:`/admin/core/borrower/list/${pageNum}/${pageSize}`,
            method:'GET',
            params: {keyword}
        })
    },
    getBorrowerDetail(id){
        return request({
            url:`/admin/core/borrower/${id}`,
            method:'GET'
        })
    },
    approval(approvalForm){
        return request({
            url:`/admin/core/borrower/approval`,
            method:'POST',
            data:approvalForm
        })
    }
}